{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from datetime import datetime as dt\n",
    "from colocateddata import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1997-01-11 00:00:00 \n",
      " 2020-06-16 00:00:00\n"
     ]
    }
   ],
   "source": [
    "time1 = dt(1997, 1, 11)\n",
    "time2 = dt(2020, 6, 16)\n",
    "print(time1, '\\n', time2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "bounding box: [1, 2, 3, 4]\n",
      "Start time: 1997-01-11 00:00:00\n",
      "End time: 2020-06-16 00:00:00\n",
      "Datasets: No datasets have been added yet\n"
     ]
    }
   ],
   "source": [
    "dat = Colocateddata([1,2,3,4], time1, time2)\n",
    "print(dat)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Searching though ATL03\n",
      "ATL03\n",
      "Searching though Argo\n",
      "Error: Argo is not a supported dataset\n",
      "Permitted datasets are \n",
      "\tATL03, ATL07\n",
      "search complete\n",
      "<dataset_scripts.atl03.ATL03 object at 0x7fd8544a7610>\n"
     ]
    }
   ],
   "source": [
    "dat.init_dataset(['ATL03', 'Argo'])\n",
    "print(dat.datasets['ATL03'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [conda env:notebook] *",
   "language": "python",
   "name": "conda-env-notebook-py"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
